package com.fw.service.impl;

import com.fw.entity.MyException;
import com.fw.entity.User;
import com.fw.dao.UserMapper;
import com.fw.enums.UserType;
import com.fw.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author james
 * @since 2021-06-19
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Resource
    UserMapper userMapper;
    @Resource
    IUserService userService;
    @Override
    public User UserLogin(String email) {
        return userMapper.UserLogin(email);
    }
}
